From ee75bae8f8fa70a7ee6650403f4c3929f0358afa Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 20 Sep 2020 10:55:54 -0400 Subject: [PATCH] fontchooser: Make sure the tweak button is updated This was showing up as tweak buttons being visible when they should not. The code probably relied on widgets being hidden by default (as they were in GTK3). --- gtk/gtkfontchooserdialog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c index 6181db6836..5c38db7fa8 100644 --- a/gtk/gtkfontchooserdialog.c +++ b/gtk/gtkfontchooserdialog.c @@ -183,6 +183,8 @@ setup_tweak_button (GtkFontChooserDialog *dialog) gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button); dialog->tweak_button = button; + + update_tweak_button (dialog); } } -- 2.30.2